Skip to content

chore: point topology bundle sources at plugin snippets#93

Closed
KailasMahavarkar wants to merge 1 commit intomainfrom
chore/topology-bundles-point-at-snippets
Closed

chore: point topology bundle sources at plugin snippets#93
KailasMahavarkar wants to merge 1 commit intomainfrom
chore/topology-bundles-point-at-snippets

Conversation

@KailasMahavarkar
Copy link
Copy Markdown
Collaborator

Summary

Updates the sources: arrays in every topology bundle YAML so they reference the actual on-disk content trees instead of the deleted corpus/* directories.

Bundle Before After
backend.http corpus/backend/echo src/plugins/echo/snippets
backend.lang.go corpus/backend/golang src/plugins/golang/snippets
backend.lang.rust corpus/backend/rust src/plugins/rust/snippets
frontend.design corpus/frontend/{designer,design-tokens,ui-ux} src/plugins/{designer,design-tokens,ui-ux}/snippets
frontend.react corpus/frontend/{react,shadcn,motion,lenis,reactflow} src/plugins/{react,shadcn,motion,lenis,reactflow}/snippets
shared.system corpus/shared/system topology

Runtime behavior is unchanged - the engine resolves tool calls through tool_prefixes, not sources. This commit only fixes declared-path rot so the bundle files describe real directories again.

Test plan

  • All 11 snippet dirs verified present before rewriting
  • bun run build - typecheck exit 0
  • bun run generate:topology - artifacts regenerated clean
  • hyperstack tool designer_resolve_intent --json ... --agent frontend-builder - topology enforcement still logs bundle=frontend.design and dispatches the tool

… paths

Updates the `sources:` arrays in every topology bundle YAML so they reference the actual on-disk content trees instead of the deleted `corpus/*` directories.

- backend.http       corpus/backend/echo         -> src/plugins/echo/snippets
- backend.lang.go    corpus/backend/golang       -> src/plugins/golang/snippets
- backend.lang.rust  corpus/backend/rust         -> src/plugins/rust/snippets
- frontend.design    corpus/frontend/designer    -> src/plugins/designer/snippets
                     corpus/frontend/design-tokens -> src/plugins/design-tokens/snippets
                     corpus/frontend/ui-ux       -> src/plugins/ui-ux/snippets
- frontend.react     corpus/frontend/react       -> src/plugins/react/snippets
                     corpus/frontend/shadcn      -> src/plugins/shadcn/snippets
                     corpus/frontend/motion      -> src/plugins/motion/snippets
                     corpus/frontend/lenis       -> src/plugins/lenis/snippets
                     corpus/frontend/reactflow   -> src/plugins/reactflow/snippets
- shared.system      corpus/shared/system        -> topology

Runtime behavior is unchanged - the engine resolves tool calls through tool_prefixes, not sources. This commit only fixes declared-path rot so the bundles describe real trees again. All 11 snippet dirs verified present.

bun run build / bun run generate:topology / hyperstack tool ... --agent frontend-builder all clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@KailasMahavarkar
Copy link
Copy Markdown
Collaborator Author

Obsoleted by revert to a31b2ab per user direction.

@KailasMahavarkar KailasMahavarkar deleted the chore/topology-bundles-point-at-snippets branch April 22, 2026 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant